package com.dapeng.cleardatabackend;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 入口程序
 *
 * @author dapeng
 */
@SpringBootApplication
@MapperScan("com.dapeng.cleardatabackend.mapper")
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@EnableScheduling
public class MainApplication {

    public static void main(String[] args) {
        SpringApplication.run(com.dapeng.cleardatabackend.MainApplication.class, args);
    }

}
